package com.qike.duola.mapper;

import com.qike.duola.domain.DuolaCustomer;
import com.qike.duola.domain.DuolaCustomerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DuolaCustomerMapper {
    long countByExample(DuolaCustomerExample example);

    int deleteByExample(DuolaCustomerExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DuolaCustomer record);

    int insertSelective(DuolaCustomer record);

    List<DuolaCustomer> selectByExampleWithBLOBs(DuolaCustomerExample example);

    List<DuolaCustomer> selectByExample(DuolaCustomerExample example);

    DuolaCustomer selectByPrimaryKey(Integer id);
    DuolaCustomer selectByName(String customerName);

    int updateByExampleSelective(@Param("record") DuolaCustomer record, @Param("example") DuolaCustomerExample example);

    int updateByExampleWithBLOBs(@Param("record") DuolaCustomer record, @Param("example") DuolaCustomerExample example);

    int updateByExample(@Param("record") DuolaCustomer record, @Param("example") DuolaCustomerExample example);

    int updateByPrimaryKeySelective(DuolaCustomer record);

    int updateByPrimaryKeyWithBLOBs(DuolaCustomer record);

    int updateByPrimaryKey(DuolaCustomer record);
}